package com.lhkj.ct.meta.modules.psychology.service;

import com.lhkj.ct.meta.modules.psychology.model.dto.SampleAnalysisDto;
import com.lhkj.ct.meta.modules.psychology.model.vo.AnalysisResult;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;

/**
 * <p>
 *     样本分析
 * </p>
 */
public interface SampleAnalysisService {

    /**
     * 样本统计
     */
    AnalysisResult statistical(@Valid SampleAnalysisDto dto);

    void exportWord(@NotNull(message = "报告数据不能为空") AnalysisResult vo);
}
